// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import VRouter from 'vue-router'//引入安装的router
import router from '@/router/index'
import $ from 'jquery'
// import 'jquery'
import  'bootstrap/dist/css/bootstrap.min.css'
import  'bootstrap/dist/js/bootstrap.min'

import ElementUI from 'element-ui'//引入ui
import 'element-ui/lib/theme-default/index.css'


Vue.config.productionTip = false

Vue.use(VRouter)//使用router
Vue.use(ElementUI)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,//加入配置好的路由
  template: '<App/>',
  components: { App }
})
